package com.sq;

import lombok.extern.slf4j.Slf4j;

/**
 * Hello world!
 */
@Slf4j
public class App {
    public static void main(String[] args) throws Exception {
        String url = "http://172.20.1.100:8020/crswap/forecastService?wsdl";
        url = "http://10.11.23.201:8020/crswap/forecastService?wsdl";
        url = "http://127.0.0.1:8020/crswap/forecastService?wsdl";

        log.info("======开始调用webservice======");
        StringBuffer sb = new StringBuffer("");
        int qbid = 1000000;
        for (int i = 0; i < 500; i++) {
            String qid = String.valueOf(qbid + i);
            sb.append(qid + "," + i + ",2022/9/23 7:57:08,1,10000001,YX@");
        }
        String content = sb.substring(0, sb.length() - 1);
        //content = "3506963,2768,2023/05/17 00:39:05,1,94625290,EX3@3506963,2768,2023/05/17 00:39:05,2,98080997,EN2@3506963,2768,2023/05/17 00:39:05,3,97875090,EL3@3506963,2768,2023/05/17 00:39:05,4,98520984,EN2@3506963,2768,2023/05/17 00:39:05,5,98310238,EN2@3506963,2768,2023/05/17 00:39:05,6,98162589,EN2@3506963,2768,2023/05/17 00:39:05,7,92634492,EN7@3506963,2768,2023/05/17 00:39:05,8,98164569,EN2@3506963,2768,2023/05/17 00:39:05,9,98098759,EN2@3506963,2768,2023/05/17 00:39:05,10,98080237,EN2@3506963,2768,2023/05/17 00:39:05,11,94623691,EX3@3506963,2768,2023/05/17 00:39:05,12,97901094,EL3@3506963,2768,2023/05/17 00:39:05,13,98512585,EN2@3506963,2768,2023/05/17 00:39:05,14,97830293,EL3@3506963,2768,2023/05/17 00:39:05,15,59930198,EN@3506963,2768,2023/05/17 00:39:05,16,98190473,EN2@3506963,2768,2023/05/17 00:39:05,17,94620499,EX3@3506963,2768,2023/05/17 00:39:05,18,97838197,EL3@3506963,2768,2023/05/17 00:39:05,19,98195993,EN2@3506963,2768,2023/05/17 00:39:05,20,98081037,EN2@3506963,2768,2023/05/17 00:39:05,21,92508498,EN7@3506963,2768,2023/05/17 00:39:05,22,97830590,EL3@3506963,2768,2023/05/17 00:39:05,23,97871891,EL3@3506963,2768,2023/05/17 00:39:05,24,92813799,EN2@3506963,2768,2023/05/17 00:39:05,25,97847099,EL3@3506963,2768,2023/05/17 00:39:05,26,92818293,EN2@3506963,2768,2023/05/17 00:39:05,27,98193360,EN2@3506963,2768,2023/05/17 00:39:05,28,95952693,EL9@3506963,2768,2023/05/17 00:39:05,29,92692599,EN7@3506963,2768,2023/05/17 00:39:05,30,98092372,EN2@3506963,2768,2023/05/17 00:39:05,31,98084627,EN2@3506963,2768,2023/05/17 00:39:05,32,92872191,EN2@3506963,2768,2023/05/17 00:39:05,33,94597291,EX3@3506963,2768,2023/05/17 00:39:05,34,97818496,EL3@3506963,2768,2023/05/17 00:39:05,35,92807890,EN2@3506963,2768,2023/05/17 00:39:05,36,92891399,EN2@3506963,2768,2023/05/17 00:39:05,37,98092232,EN2@3506963,2768,2023/05/17 00:39:05,38,94621992,EX3@3509445,2438,2023/05/17 00:39:05,1,60228848,EC1@3509445,2438,2023/05/17 00:39:05,2,29075405,EP3@3509445,2438,2023/05/17 00:39:05,3,54826227,EN3@3509445,2438,2023/05/17 00:39:05,4,54808928,EN3@3509445,2438,2023/05/17 00:39:05,5,42299917,EN1@3509445,2438,2023/05/17 00:39:05,6,54807748,EN3@3509445,2438,2023/05/17 00:39:05,7,94732195,EX3@3509445,2438,2023/05/17 00:39:05,8,94832391,EX3@3509445,2438,2023/05/17 00:39:05,9,94875697,EX3@3509445,2438,2023/05/17 00:39:05,10,94866399,EX3@3509445,2438,2023/05/17 00:39:05,11,94875796,EX3@3509445,2438,2023/05/17 00:39:05,12,96661996,EL1@3509445,2438,2023/05/17 00:39:05,13,96353396,EL1@3509445,2438,2023/05/17 00:39:05,14,97049894,EL3@3509445,2438,2023/05/17 00:39:05,15,94776697,EX3@3509445,2438,2023/05/17 00:39:05,16,96336391,EL1@3509445,2438,2023/05/17 00:39:05,17,61854808,EC1@3509445,2438,2023/05/17 00:39:05,18,60550126,EC1@3509445,2438,2023/05/17 00:39:05,19,92672575,EN7@3509445,2438,2023/05/17 00:39:05,20,92651710,EN7@3509445,2438,2023/05/17 00:39:05,21,92641372,EN7@3509445,2438,2023/05/17 00:39:05,22,92631787,EN7@3509445,2438,2023/05/17 00:39:05,23,92609528,EN7@3509445,2438,2023/05/17 00:39:05,24,92669548,EN7@3509445,2438,2023/05/17 00:39:05,25,42028191,EN1@3509445,2438,2023/05/17 00:39:05,26,94798394,EX3@3509445,2438,2023/05/17 00:39:05,27,59710392,EL5@3509445,2438,2023/05/17 00:39:05,28,59101030,EL5@3509445,2438,2023/05/17 00:39:05,29,55618276,EL1@3509445,2438,2023/05/17 00:39:05,30,55150957,EL1@3509445,2438,2023/05/17 00:39:05,31,59013607,EL1@3509445,2438,2023/05/17 00:39:05,32,54142526,EN3@3509445,2438,2023/05/17 00:39:05,33,55041255,EL1@3509445,2438,2023/05/17 00:39:05,34,64906662,EC1@3509445,2438,2023/05/17 00:39:05,35,56088149,EC5@3509445,2438,2023/05/17 00:39:05,36,54207436,EN1@3509445,2438,2023/05/17 00:39:05,37,53762456,EC2@3509445,2438,2023/05/17 00:39:05,38,52950300,EC2@3509445,2438,2023/05/17 00:39:05,39,29079720,EP3@3509445,2438,2023/05/17 00:39:05,40,29064813,EP3@3509445,2438,2023/05/17 00:39:05,41,29148806,EP3@3509445,2438,2023/05/17 00:39:05,42,29198884,EP3@3509445,2438,2023/05/17 00:39:05,43,92665843,EN7@3509445,2438,2023/05/17 00:39:05,44,92644731,EN7@3509445,2438,2023/05/17 00:39:05,45,92652171,EN7@3509445,2438,2023/05/17 00:39:05,46,92664960,EN7@3509445,2438,2023/05/17 00:39:05,47,61589347,EC1@3509445,2438,2023/05/17 00:39:05,48,61858668,EC1@3509445,2438,2023/05/17 00:39:05,49,61249876,EC1@3509445,2438,2023/05/17 00:39:05,50,65077760,EC1@3509445,2438,2023/05/17 00:39:05,51,60054301,EC1@3509445,2438,2023/05/17 00:39:05,52,63194542,EC1@3509445,2438,2023/05/17 00:39:05,53,61589883,EC1@3509445,2438,2023/05/17 00:39:05,54,59391912,EL5@3509445,2438,2023/05/17 00:39:05,55,63985303,EC1@3509445,2438,2023/05/17 00:39:05,56,55673792,EL1@3509445,2438,2023/05/17 00:39:05,57,61358321,EC1@3509445,2438,2023/05/17 00:39:05,58,61855540,EC1@3509445,2438,2023/05/17 00:39:05,59,61466355,EC1@3509445,2438,2023/05/17 00:39:05,60,60975430,EC1@3509445,2438,2023/05/17 00:39:05,61,61188330,EC1@3509445,2438,2023/05/17 00:39:05,62,60430709,EC1@3509445,2438,2023/05/17 00:39:05,63,54819958,EN3@3509445,2438,2023/05/17 00:39:05,64,54735212,EN1@3509445,2438,2023/05/17 00:39:05,65,54800123,EN3@5506964,3640,2023/05/17 00:57:05,1,62267539,EC1@5506964,3640,2023/05/17 00:57:05,2,64141161,EC1@5506964,3640,2023/05/17 00:57:05,3,63725162,EC1@5506964,3640,2023/05/17 00:57:05,4,59392159,EL5@5506964,3640,2023/05/17 00:57:05,5,61650628,EC1@5506964,3640,2023/05/17 00:57:05,6,62272364,EC1@5506964,3640,2023/05/17 00:57:05,7,61834826,EC1@5506964,3640,2023/05/17 00:57:05,8,64115801,EC1@5506964,3640,2023/05/17 00:57:05,9,61639274,EC1@5506964,3640,2023/05/17 00:57:05,10,61695789,EC1@5506964,3640,2023/05/17 00:57:05,11,60549136,EC1@5506964,3640,2023/05/17 00:57:05,12,63546972,EC1@5506964,3640,2023/05/17 00:57:05,13,61877635,EC1@5506964,3640,2023/05/17 00:57:05,14,60087574,EC1@5506964,3640,2023/05/17 00:57:05,15,63434617,EC1@5506964,3640,2023/05/17 00:57:05,16,53152179,EL1@5506964,3640,2023/05/17 00:57:05,17,61948964,EC1@5506964,3640,2023/05/17 00:57:05,18,64130032,EC1@5506964,3640,2023/05/17 00:57:05,19,62161138,EC1@5506964,3640,2023/05/17 00:57:05,20,63726780,EC1@5506964,3640,2023/05/17 00:57:05,21,60837549,EC1@5506964,3640,2023/05/17 00:57:05,22,60603313,EC1@5506964,3640,2023/05/17 00:57:05,23,64087075,EC1@5506964,3640,2023/05/17 00:57:05,24,61654117,EC1@5506964,3640,2023/05/17 00:57:05,25,55515589,EL1@5506964,3640,2023/05/17 00:57:05,26,62269626,EC1@5506964,3640,2023/05/17 00:57:05,27,64613904,EC1@5506964,3640,2023/05/17 00:57:05,28,61835328,EC1@5506964,3640,2023/05/17 00:57:05,29,63546337,EC1@5506964,3640,2023/05/17 00:57:05,30,60738457,EC1@5506964,3640,2023/05/17 00:57:05,31,63548127,EC1@5506964,3640,2023/05/17 00:57:05,32,63806434,EC1@5506964,3640,2023/05/17 00:57:05,33,61936480,EC1@5506964,3640,2023/05/17 00:57:05,34,59388942,EL5@5506964,3640,2023/05/17 00:57:05,35,62310008,EC1@5506964,3640,2023/05/17 00:57:05,36,65603300,EC1@5506964,3640,2023/05/17 00:57:05,37,60083839,EC1@5506964,3640,2023/05/17 00:57:05,38,63761860,EC1@5506964,3640,2023/05/17 00:57:05,39,63804660,EC1@5506964,3640,2023/05/17 00:57:05,40,61054706,EC1@5506964,3640,2023/05/17 00:57:05,41,53079356,EL1@5506964,3640,2023/05/17 00:57:05,42,61691515,EC1@5506964,3640,2023/05/17 00:57:05,43,61412847,EC1@5506964,3640,2023/05/17 00:57:05,44,61042453,EC1@5506964,3640,2023/05/17 00:57:05,45,59391839,EL5@5506964,3640,2023/05/17 00:57:05,46,62176987,EC1@5506964,3640,2023/05/17 00:57:05,47,61646089,EC1@5506964,3640,2023/05/17 00:57:05,48,62161104,EC1@5506964,3640,2023/05/17 00:57:05,49,61910188,EC1@5506964,3640,2023/05/17 00:57:05,50,61693313,EC1@5506964,3640,2023/05/17 00:57:05,51,61892436,EC1@11506920,3613,2023/05/17 01:21:07,1,29221280,EP3@11506920,3613,2023/05/17 01:21:07,2,29075033,EP3@11506920,3613,2023/05/17 01:21:07,3,29075629,EP3@11506920,3613,2023/05/17 01:21:07,4,29013158,EP3@11506920,3613,2023/05/17 01:21:07,5,29071339,EP3@11506920,3613,2023/05/17 01:21:07,6,60684313,EC1@11506920,3613,2023/05/17 01:21:07,7,65291130,EC1@11506920,3613,2023/05/17 01:21:07,8,53561817,EC2@11506920,3613,2023/05/17 01:21:07,9,60158961,EC1@11506920,3613,2023/05/17 01:21:07,10,29072840,EP3@11506920,3613,2023/05/17 01:21:07,11,92677426,EN7@11506920,3613,2023/05/17 01:21:07,12,92609080,EN7@11506920,3613,2023/05/17 01:21:07,13,92609114,EN7@11506920,3613,2023/05/17 01:21:07,14,92610856,EN7@11506920,3613,2023/05/17 01:21:07,15,92668086,EN7@11506920,3613,2023/05/17 01:21:07,16,91986109,EP5@11506920,3613,2023/05/17 01:21:07,17,54162094,EN3@11506920,3613,2023/05/17 01:21:07,18,98325269,EN2@11506920,3613,2023/05/17 01:21:07,19,98175714,EN2@11506920,3613,2023/05/17 01:21:07,20,54652599,EN1@11506920,3613,2023/05/17 01:21:07,21,98153778,EN2@11506920,3613,2023/05/17 01:21:07,22,98177363,EN2@11506920,3613,2023/05/17 01:21:07,23,94293172,EN9@11506920,3613,2023/05/17 01:21:07,24,94393105,EX2@11506920,3613,2023/05/17 01:21:07,25,61726501,EC1@11506920,3613,2023/05/17 01:21:07,26,62494653,EC1@11506920,3613,2023/05/17 01:21:07,27,60501251,EC1@11506920,3613,2023/05/17 01:21:07,28,62415179,EC1@11506920,3613,2023/05/17 01:21:07,29,62636675,EC1@11506920,3613,2023/05/17 01:21:07,30,62471321,EC1@11506920,3613,2023/05/17 01:21:07,31,98089568,EN2@11509110,3617,2023/05/17 01:21:07,1,80006232,EB1@11509110,3617,2023/05/17 01:21:07,2,80005507,EB1@11509110,3617,2023/05/17 01:21:07,3,80000052,EB1@11509110,3617,2023/05/17 01:21:07,4,80003601,EB1@11509110,3617,2023/05/17 01:21:07,5,29133691,EP3@11509110,3617,2023/05/17 01:21:07,6,59387654,EL5@11509110,3617,2023/05/17 01:21:07,7,61228623,EC1@11509110,3617,2023/05/17 01:21:07,8,92647882,EN7@11509110,3617,2023/05/17 01:21:07,9,92647312,EN7@11509110,3617,2023/05/17 01:21:07,10,93956894,EP2@11509110,3617,2023/05/17 01:21:07,11,94828894,EX3@11509110,3617,2023/05/17 01:21:07,12,94828795,EX3@11509110,3617,2023/05/17 01:21:07,13,96618699,EL1@11509110,3617,2023/05/17 01:21:07,14,96655790,EL1@11509110,3617,2023/05/17 01:21:07,15,96616891,EL1@11509110,3617,2023/05/17 01:21:07,16,92675453,EN7@11509110,3617,2023/05/17 01:21:07,17,92640622,EN7@11509110,3617,2023/05/17 01:21:07,18,94763695,EX3@11509110,3617,2023/05/17 01:21:07,19,93959195,EP2@11509110,3617,2023/05/17 01:21:07,20,57447625,EG1@11509110,3617,2023/05/17 01:21:07,21,52873767,EC2@11509110,3617,2023/05/17 01:21:07,22,29223815,EP3@11509110,3617,2023/05/17 01:21:07,23,52012051,EP6@11509110,3617,2023/05/17 01:21:07,24,29561396,EP3@11509110,3617,2023/05/17 01:21:07,25,94790094,EX3@11509110,3617,2023/05/17 01:21:07,26,93999894,EP2@11509110,3617,2023/05/17 01:21:07,27,93904597,EP2@11509110,3617,2023/05/17 01:21:07,28,96724224,EL1@11509110,3617,2023/05/17 01:21:07,29,92615004,EN7@11509110,3617,2023/05/17 01:21:07,30,92640317,EN7@11509110,3617,2023/05/17 01:21:07,31,92677715,EN7@11509110,3617,2023/05/17 01:21:07,32,54833819,EC2@11509110,3617,2023/05/17 01:21:07,33,54800388,EN3@11509110,3617,2023/05/17 01:21:07,34,54235015,EN1@11509110,3617,2023/05/17 01:21:07,35,54223698,EN1@11509110,3617,2023/05/17 01:21:07,36,54226295,EN1";
        System.out.println(content.length());
        String response = ClientUtil.callWebSV(url, "greeting", content);
        log.info("======结束调用webservice=返回结果[{}]=====", response);
    }
}
